<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>university</title>
    <%@include file="/static/common/commonHead.jsp" %>
    <script type="text/javascript" src="/static/js/contact/contact.js"></script>
</head>
<body>
<%--工具栏--%>
<div id="tools">
    <a class="easyui-linkbutton" iconCls="icon-add" plain="true" data-cmd="add">新增</a>
    <a class="easyui-linkbutton" iconCls="icon-edit" plain="true" data-cmd="edit">编辑</a>

    <a class="easyui-linkbutton" iconCls="icon-remove" plain="true" data-cmd="delete">删除</a>
    <a class="easyui-linkbutton" iconCls="icon-see" plain="true" data-cmd="see">查看</a>

    <a class="easyui-linkbutton" iconCls="icon-reload" plain="true" data-cmd="reloadList">刷新</a>
    <a class="easyui-linkbutton" iconCls="icon-export" plain="true" data-cmd="exportXls"
       onclick="window.open('/contact/exportXls.do')">导出</a></br>

    姓名/邮箱: <input class="easyui-textbox" id="keyword"
           data-options="prompt:'姓名/邮箱'" name="keyword">

    学校:<input class="easyui-combobox" id="uId"
              data-options="url:'/university/selectAll.do',valueField:'id',textField:'name',prompt:'学校',panelHeight:'auto'"
              name="uId">



    <a class="easyui-linkbutton" iconCls="icon-search" plain="true" data-cmd="searchs">查询</a>


</div>

<%--表格--%>
<table id="entity_list"></table>

<%--编辑页面--%>
<div id="entity_dialog">
    <form id="entity_form" method="post">
        <table align="center" style="margin-top: 20px">
            <input type="hidden" name="id"/>
            <tr style="margin-top: 5px;">
                <td>姓名: </td><td>&nbsp;&nbsp;</td>
                <td><input class="easyui-validatebox" data-options="" name="name" style="width:200px;"/></td>

            </tr>
            <tr><td>&nbsp;&nbsp;</td></tr>
            <tr>
                <td>职务: </td><td>&nbsp;&nbsp;</td>
                <td><input class="easyui-validatebox" data-options="" name="duty" style="width:200px;"/></td>
            </tr>
            <tr><td>&nbsp;&nbsp;</td></tr>
            <tr>
                <td>院系: </td><td>&nbsp;&nbsp;</td>
                <td><input class="easyui-validatebox" data-options="" name="faculty" style="width:200px;"/></td>
            </tr>
            <tr><td>&nbsp;&nbsp;</td></tr>
            <tr>
                <td>部门: </td><td>&nbsp;&nbsp;</td>
                <td><input class="easyui-validatebox" data-options="" name="dept" style="width:200px;"/></td>
            </tr>
            <tr><td>&nbsp;&nbsp;</td></tr>
            <tr>
                <td>电话: </td><td>&nbsp;&nbsp;</td>
                <td><input class="easyui-validatebox" data-options="" name="tel" style="width:200px;"/></td>
            </tr>
            <tr><td>&nbsp;&nbsp;</td></tr>
            <tr>
                <td>QQ: </td><td>&nbsp;&nbsp;</td>
                <td><input class="easyui-validatebox" data-options="" name="qq" style="width:200px;"/></td>
            </tr>
            <tr><td>&nbsp;&nbsp;</td></tr>


            <tr>
                <td>邮箱: </td><td>&nbsp;&nbsp;</td>
                <td><input class="easyui-validatebox" data-options="" name="email" style="width:200px;"/></td>
            </tr>
            <tr><td>&nbsp;&nbsp;</td></tr>
            <tr>
                <td>性别: </td><td>&nbsp;&nbsp;</td>
                <td>
                    <select class="easyui-combobox" name="gander"  style="width:200px;" data-options="panelHeight:'auto'">
                        <option value="1">男</option>
                        <option value="0">女</option>
                    </select>
                </td>
            </tr>
            <tr><td>&nbsp;&nbsp;</td></tr>
            <tr>
                <td>生日: </td><td>&nbsp;&nbsp;</td>
                <td>
                    <input type= "text" class= "easyui-datebox"  style="width:200px;" name="birthday"/>
                </td>
            </tr>
            <tr><td>&nbsp;&nbsp;</td></tr>
            <tr><td>&nbsp;&nbsp;</td></tr>
            <tr>
                <td>大学: </td><td>&nbsp;&nbsp;</td>
                <td>
                    <input  type="text" class="easyui-combobox" name="university.id" style="width:200px;"
                            data-options="valueField:'id',textField:'name',panelHeight:'auto',
                           url:'/university/selectAll.do'" />
                </td>
            </tr>
            <tr><td>&nbsp;&nbsp;</td></tr>
            <tr>
                <td>简介: </td><td>&nbsp;&nbsp;</td>
                <td>
                    <input class="easyui-validatebox" style="width:200px;height:100px;" data-options="" name="intro"/>
                </td>
            </tr>


        </table>
    </form>
</div>


<div id="entity_dialog_btns">
    <a class="easyui-linkbutton" iconCls="icon-save" plain="true" data-cmd="saveOrUpdate">保存</a>
    <a class="easyui-linkbutton" iconCls="icon-cancel" plain="true" data-cmd="cancel">取消</a>
</div>
</body>
</html>
